<?php
class Cuenta extends AppModel {

	var $name = 'Cuenta';
	var $validate = array(
		'tipocuenta' => array('numeric'),
		'usuario_id' => array('numeric'),
		'balanceactual' => array('money'),
		//'fechaapertura' => array('datetime'),
		//'fechacierre' => array('datetime')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
			'Usuario' => array('className' => 'Usuario',
								'foreignKey' => 'usuario_id',
								'conditions' => '',
								'fields' => '',
								'order' => ''
			)
	);

}
?>